package com.examine.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 审批步骤表
 * </p>
 *
 * @author rick
 * @since 2022-12-13 11:23:15
 */
@Getter
@Setter
@TableName("wk_crm_examine_step")
@ApiModel(value = "CrmExamineStep对象", description = "审批步骤表")
public class CrmExamineStep implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "step_id", type = IdType.AUTO)
    private Long stepId;

    @ApiModelProperty("步骤类型1、负责人主管，2、指定用户（任意一人），3、指定用户（多人会签）,4、上一级审批人主管")
    @TableField("step_type")
    private Integer stepType;

    @ApiModelProperty("审批ID")
    @TableField("examine_id")
    private Integer examineId;

    @ApiModelProperty("审批人ID (使用逗号隔开) ,1,2,")
    @TableField("check_user_id")
    private String checkUserId;

    @ApiModelProperty("排序")
    @TableField("step_num")
    private Integer stepNum;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("备注")
    @TableField("remarks")
    private String remarks;


}
